<template>
	
	<v-button @click="isPopupVisible = true">打开弹窗</v-button>
	
	<v-popup v-model:value="isPopupVisible" :title="popupTitle" :scrollHeight="popupHeight" >
		<view class="popup-content">
			<view class="popup-item" v-for="(item, index) in popupItems" :key="index">
				{{ item }}
			</view>
		</view>
	</v-popup>
</template>

<script setup lang="ts">
import { ref } from 'vue';

const isPopupVisible = ref(true);
const popupTitle = '选择选项';
const popupHeight = 600;
const popupItems = ref(['选项1', '选项2', '选项3', '选项4', '选项5']);


</script>
